#ifndef DATAFILE_H_
#define DATAFILE_H_

#include "System\F2806x_Device.h"

struct SDataFile
{
	// Inputs Data
	Uint32 Mode;
	bool AckError;
	float PWMSet;
	float YawRef;
	float dYaw;
	float MagY;
	float MagZ;

	// Output Data
	Uint32 ActualMode;
	bool Failed;
	float PWM1;
	float PWM2;

	// OtherData
	float BattVoltage;

	// Internal
	long KillCounter;

	// Status
	long Counter;
	float LoopTimeMS; // [ms]
	float LoopTimeMSMAX; // [ms]
	float64 MissionTime; // [s]
};

#endif /*DATAFILE_H_*/
